{block javascript}
    <script src="{$basePath}/js/prototype.js" type="text/javascript"></script>
    <script src="{$basePath}/js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
    <script src="{$basePath}/js/lightbox.js" type="text/javascript"></script>
{/block}
{block content}
    {dump $alba}
    <a n:href="Povoden:fotogalerie"><button>Zpět na alba</button></a><br>
    {foreach $alba as $nadpis}{first}
    <h2>Album: {$nadpis[nazevalba]}</h2>
    <span>{$nadpis[nazevalbapopis]}</span><br>
    {/first}{/foreach}
    {foreach $alba as $album}
    <div id="fotogalerie">
        <div class="fotka">{$album[nazev]}
            <div class="Btext">
                    <a href='{$album[vetsi]}' rel='lightbox[foto]' title='{$album[nazev]} ~ {$album[popisek]}'>
                    <center>
                        {if $album[stitky]}{$album[stitky]}<br>{/if}
                        <img src="{$album[nahled]}" alt=""/> <br>
                        {if $album[popisek]}{$album[popisek]}{/if}
                    </center>
                </a>
            </div>
        </div>
    </div>
    {/foreach}
    <br><a n:href="Povoden:fotogalerie"><button>Zpět na alba</button></a>